#include<stdio.h>
#include<stddef.h>
struct Stu
{
	char name;
	char sex;
	int password;
	int id;
};
int main()
{
	
	printf("%d \n", offsetof(struct Stu, name));
	printf("%d \n", offsetof(struct Stu, sex));
	printf("%d \n", offsetof(struct Stu, password));
	printf("%d \n", offsetof(struct Stu, id));
	return 0;
}